<html>
 <head>
  <link href="./leetcode-problem.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div class="question_difficulty">
   难度：Easy
  </div>
  <div>
   <h1 class="question_title">
    596. Classes More Than 5 Students
   </h1>
   <p>
    There is a table
    <code>
     courses
    </code>
    with columns:
    <b>
     student
    </b>
    and
    <b>
     class
    </b>
   </p>
   <p>
    Please list out all classes which have more than or equal to 5 students.
   </p>
   <p>
    For example, the table:
   </p>
   <pre>
+---------+------------+
| student | class      |
+---------+------------+
| A       | Math       |
| B       | English    |
| C       | Math       |
| D       | Biology    |
| E       | Math       |
| F       | Computer   |
| G       | Math       |
| H       | Math       |
| I       | Math       |
+---------+------------+
</pre>
   <p>
    Should output:
   </p>
   <pre>
+---------+
| class   |
+---------+
| Math    |
+---------+
</pre>
   <p>
    &nbsp;
   </p>
   <p>
    <b>
     Note:
    </b>
    <br>
    The students should not be counted duplicate in each course.
   </p>
  </div>
  <div>
   <h1 class="question_title">
    596. 超过5名学生的课
   </h1>
   <p>
    有一个
    <code>
     courses
    </code>
    表 ，有:
    <strong>
     student&nbsp;(学生)
    </strong>
    和
    <strong>
     class (课程)
    </strong>
    。
   </p>
   <p>
    请列出所有超过或等于5名学生的课。
   </p>
   <p>
    例如,表:
   </p>
   <pre>
+---------+------------+
| student | class      |
+---------+------------+
| A       | Math       |
| B       | English    |
| C       | Math       |
| D       | Biology    |
| E       | Math       |
| F       | Computer   |
| G       | Math       |
| H       | Math       |
| I       | Math       |
+---------+------------+
</pre>
   <p>
    应该输出:
   </p>
   <pre>
+---------+
| class   |
+---------+
| Math    |
+---------+
</pre>
   <p>
    <strong>
     Note:
    </strong>
    <br>
    学生在每个课中不应被重复计算。
   </p>
  </div>
 </body>
</html>